package com.wenwu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wenwu.common.bean.RelicsMCulture;
import com.wenwu.common.bean.RelicsMRepair;
import com.wenwu.common.bean.RelicsMRepairExample;
import com.wenwu.common.page.PaginationVO;

public interface RelicsMRepairMapper extends Dao{
    int countByExample(RelicsMRepairExample example);

    int deleteByExample(RelicsMRepairExample example);

    int deleteByPrimaryKey(Integer integrityId);

    int insert(RelicsMRepair record);

    int insertSelective(RelicsMRepair record);

    List<RelicsMRepair> selectByExample(RelicsMRepairExample example);

    RelicsMRepair selectByPrimaryKey(Integer integrityId);

    int updateByExampleSelective(@Param("record") RelicsMRepair record, @Param("example") RelicsMRepairExample example);

    int updateByExample(@Param("record") RelicsMRepair record, @Param("example") RelicsMRepairExample example);

    int updateByPrimaryKeySelective(RelicsMRepair record);

    int updateByPrimaryKey(RelicsMRepair record);

    
    /**
     * 分页查询
     * @param relicsMCulture
     * @param pageVo 
     * @return
     */
    List<RelicsMCulture> selectListByPage(@Param("relicsMRepair") RelicsMRepair relicsMRepair,@Param("pageVo")  PaginationVO pageVo);
    /**
     * 分页查询总数
     * @param relicsMCulture
     * @return
     */
    int selectTotalRecord(@Param("relicsMRepair") RelicsMRepair relicsMRepair);

    /**
     * 批量删除
     * @param keyList
     * @return
     */
	int deleteInfoByKey(List<String> keyList);
}